// const os = require('os')
// const platform = os.platform()
// const release = os.release()

// document.getElementById('platform').append(platform)
// document.getElementById('release').append(release)

console.log('renderer.js')
window.electron.doSomething()

function onSave() {
    var path = document.getElementById('filePath').value
    var content = document.getElementById('fileContent').value
    window.electron.saveFile(path,content)
}